Fix erronous cfg directive
authorroot <root@localhost>
Tue, 2 Jun 2015 21:06:52 +0000 (23:06 +0200)
committerroot <root@localhost>
Tue, 2 Jun 2015 21:06:52 +0000 (23:06 +0200)
src/cargo/util/shell_escape.rs

index a8a41f75f22c45bebff450ac7bf04df5b2a4bea0..d65f42556ce24f595f282891544a43b2ec572341 100644 (file)
@@ -83,7 +83,6 @@ mod other {
 
     static SHELL_SPECIAL: &'static str = r#" \$'"`!"#;
 
-    #[cfg(not(target_os = "windows"))]
     /// Escape characters that may have special meaning in a shell,
     /// including spaces.
     pub fn shell_escape(s: Cow<str>) -> Cow<str> {